\newcommand\titlpage{%
\begin{titlepage}
\large
\begin{center}
\vspace{0pt plus 2fil}
{\LARGE \bf \title}\\ 
\vspace{0pt plus 0.7fil}  
{\bf \what}\\
\vspace{0pt plus 0.3fil}
%Submitted in partial fulfillment of the %requirements\\
%for the degree of\\
\vspace{0pt plus 0.2fil}
%{\bf }\\
\vspace{0pt plus 0.5fil}
by\\ 
\vspace{0pt plus 0.2fil}
{\bf \who}\\
\vspace{0pt plus 0.05fil}
{\bf Roll No: \roll} \\
\vspace{0pt plus 0.5fil}
under the guidance of\\
\vspace{0pt plus 0.2fil}
{\bf \guide}\\
\vspace{0pt plus 1fil}
\scalebox{0.4}{\includegraphics{iitb1.png}} \\
Department of Computer Science and Engineering \\ 
Indian Institute of Technology, Bombay \\ 
Mumbai\\
\end{center}
\end{titlepage}}

